<?php

class Test_Query_Helper_model extends CI_Model {

	function __construct()
	{
		parent::__construct();
    }
    
    function test()
    {
    	return $this->db->query("SELECT * FROM test");
    }
    
    function test_count_all($tbl = 'test') 
    {
    	return $this->db->count_all($tbl);
    }   
    
    function test_platform() 
    {
    	return $this->db->platform();
    }
    
    function test_version() 
    {
    	return $this->db->version();
    }

    function test_last_query() 
    {
    	return $this->db->last_query();
    }

    function test_insert_id() 
    {
    	return $this->db->insert_id();
    }
    
    function test_affected_rows() 
    {
	return $this->db->affected_rows();
    }
    
    //TODO:  test insert and update string helper functions


 
}